package xin.core.jpa.model;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Cacheable;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
@Cacheable
@Data
@EqualsAndHashCode(of = "io")
public abstract class IdEntity {

	protected Long id;
}
